home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
program
/
kh_gdi.zip
/
APXPREV.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-28
|
2KB
|
72 lines
#if !defined(__apxprev_h) // Sentry, use file only if it's not already included.
#define __apxprev_h
/* Project slang
Copyright ⌐ 1995. All Rights Reserved.
SUBSYSTEM: slang.exe Application
FILE: APXPrev.H
AUTHOR: Stepan S.Vartanov
OVERVIEW
========
Class definition for PreviewWindow (Print Preview).
*/
#include <owl\owlpch.h>
#pragma hdrstop
#include "slang\apxprint.h"
#include "slang\slangapp.rh"
//{{TDecoratedFrame = PreviewWindow}}
class PreviewWindow : public TDecoratedFrame {
public:
PreviewWindow (TWindow *parentWindow, TPrinter *printer, TWindow* currWindow, const char far* title, TLayoutWindow* client);
~PreviewWindow ();
int PageNumber;
TWindow *CurrWindow;
TControlBar *PreviewSpeedBar;
TPreviewPage *Page1;
TPreviewPage *Page2;
TPrinter *Printer;
TPrintDC *PrnDC;
TSize *PrintExtent;
APXPrintOut *Printout;
private:
TLayoutWindow *Client;
void SpeedBarState ();
void PPR_PreviousEnable (TCommandEnabler &tce);
void PPR_NextEnable (TCommandEnabler &tce);
void PPR_Previous ();
void PPR_Next ();
void PPR_OneUp ();
void PPR_TwoUpEnable (TCommandEnabler &tce);
void PPR_TwoUp ();
void PPR_Done ();
void CmPrintEnable (TCommandEnabler &tce);
void CmPrint ();
//{{PreviewWindowVIRTUAL_BEGIN}}
protected:
virtual void SetupWindow ();
//{{PreviewWindowVIRTUAL_END}}
//{{PreviewWindowRSP_TBL_BEGIN}}
protected:
//{{PreviewWindowRSP_TBL_END}}
DECLARE_RESPONSE_TABLE(PreviewWindow);
}; //{{PreviewWindow}}
#endif // __apxprev_h sentry.